package io.renren.modules.order.service;

import cn.hutool.core.util.PageUtil;
import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.order.enity.MerchantEntityOrder;
import io.renren.modules.order.enity.MerchantOrderEntityVo;
import org.apache.ibatis.annotations.Param;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface MerchantOrderService extends IService<MerchantEntityOrder> {

    /**
     * 获取未发货的订单
     */
    PageUtils MerchantOrderStatusByPage(Map<String,Object> params,Integer status);

    /**
     * 获取商家所有订单
     * @param merchantId
     * @param parms
     * @return
     */
    PageUtils listByPage(String  merchantId, Map<String, Object> parms);
    List<MerchantOrderEntityVo> getMerchantOrder( Integer UserId);

    List<MerchantOrderEntityVo> queryListMerchantOrder(String merchantId);

    MerchantOrderEntityVo getDetails(String orderCode) throws IOException;
}
